package com.jeesite.modules.car.service;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.car.dao.BrandDao;
import com.jeesite.modules.car.entity.Brand;
import com.jeesite.modules.car.entity.Car;
import com.jeesite.modules.general.CosUtil;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BrandService extends CrudService<BrandDao, Brand> {

    @Override
    public Page<Brand> findPage(Brand brand) {
        return super.findPage(brand);
    }

    @Override
    public Brand get(Brand brand) {
        return super.get(brand);
    }

    public void delBrandData(String brandId){
        dao.delBrandData(brandId);
    }


}
